projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e042ffa
)
entry: Set the window on the icon helper
author
Alexander Larsson
<alexl@redhat.com>
Tue, 25 Jun 2013 12:37:55 +0000
(14:37 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Wed, 3 Jul 2013 12:39:26 +0000
(14:39 +0200)
gtk/gtkentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkentry.c
b/gtk/gtkentry.c
index 9d61264c659bec1ad246c18b102dfb5e1e0eb515..0c6b6f6c7033a445a537f609dd38d2cbf4ff7869 100644
(file)
--- a/
gtk/gtkentry.c
+++ b/
gtk/gtkentry.c
@@
-3047,6
+3047,10
@@
realize_icon_info (GtkWidget *widget,
gtk_widget_register_window (widget, icon_info->window);
gtk_widget_queue_resize (widget);
+
+ _gtk_icon_helper_set_window (icon_info->icon_helper,
+ gtk_widget_get_window (widget));
+
}
static EntryIconInfo*
@@
-3233,6
+3237,8
@@
gtk_entry_unrealize (GtkWidget *widget)
{
if ((icon_info = priv->icons[i]) != NULL)
{
+ _gtk_icon_helper_set_window (icon_info->icon_helper, NULL);
+
if (icon_info->window != NULL)
{
gtk_widget_unregister_window (widget, icon_info->window);